Remote MongoDB Service
-
Global factory const which can be used to create a
RemoteMongoClient
with aStitchAppClient
. Pass intoStitchAppClient.serviceClient(fromFactory:withName)
to get a `RemoteMongoClient.Declaration
Swift
public let remoteMongoClientFactory: AnyNamedServiceClientFactory<RemoteMongoClient>
-
A class which can be used to get database and collection objects which can be used to interact with MongoDB data via the Stitch MongoDB service.
See moreDeclaration
Swift
public class RemoteMongoClient
-
A class representing a MongoDB database accesible via the Stitch MongoDB service.
See moreDeclaration
Swift
public class RemoteMongoDatabase
-
A class representing a MongoDB collection accesible via the Stitch MongoDB service. Operations against the Stitch server are performed asynchronously.
See moreDeclaration
Swift
public class RemoteMongoCollection<T> where T : Decodable, T : Encodable
-
A cursor of documents which can be traversed asynchronously. A
See moreRemoteMongoCursor
can be the result of afind
oraggregate
operation.Declaration
Swift
public class RemoteMongoCursor<T> where T : Decodable, T : Encodable
-
Represents a
See morefind
oraggregate
operation against a MongoDB collection. Use the methods in this class to execute the operation and retrieve the results.Declaration
Swift
public class RemoteMongoReadOperation<T> where T : Decodable, T : Encodable
-
Options to use when executing a
See morecount
command on aRemoteMongoCollection
.Declaration
Swift
public struct RemoteCountOptions
-
The result of a
See moredelete
command on aRemoteMongoCollection
.Declaration
Swift
public struct RemoteDeleteResult : Decodable
-
Options to use when executing a
See morefind
command on aRemoteMongoCollection
.Declaration
Swift
public struct RemoteFindOptions
-
The result of an
See moreinsertMany
command on aRemoteMongoCollection
.Declaration
Swift
public struct RemoteInsertManyResult : Decodable
-
The result of an
See moreinsertOne
command on aRemoteMongoCollection
.Declaration
Swift
public struct RemoteInsertOneResult : Decodable
-
Options to use when executing an
See moreupdateOne
orupdateMany
command on aRemoteMongoCollection
.Declaration
Swift
public struct RemoteUpdateOptions
-
The result of an
See moreupdateOne
orupdateMany
operation aRemoteMongoCollection
.Declaration
Swift
public struct RemoteUpdateResult : Decodable